package com.maxh.service;

import com.maxh.pojo.User;

import java.util.List;
import java.util.Map;



public interface UserService {

    /*查找用户名*/
    public User findByUsername(String username);
    /*根据userNum查找*/
    User findByUserNum(String userNum);
    /*查找用户Id*/
    public User findUserById(String userId);
    //获取用户信息
    public Object userList();
    /*添加用户*/
    public boolean addUser(Map<String, Object> map);
    //更新用户信息
    public boolean updateUser(Map<String, Object> map);
    /*删除用户信息*/
    public boolean deleteUser(String map);

    List<Map<String,Object>> searchUser(Map<String, Object> map);


}
